export interface BsqOrLljType {
  deviceNo?: string
  devNo?: string
  name?: string
  value?: string
}
export interface DtuListType {
  siteName?: string
  // 站点
  deviceNo: string
  // 站点编号
  sampleTime?: string
  // 上传时间
  state?: number
  // 状态
  // 0-在线，1-离线
  dayReports?: number
  // 今日用气量
  ydayReports?: number
  // 昨日用气量
  bsqList?: BsqOrLljType[]
  // 变送器设备集合
  lljList?: BsqOrLljType[]
  // 流量计设备集合
}
export interface HistoryDataType {
  SampleTime?: string
  LogTime?: string
  scn?: string
  pressure?: number
  sumSCN?: string
  temperature?: number
  sumWCN?: string
  logTime?: string
  wcn?: string
  identifier?: string
  dtuSerialNumber?: string
  sampleTime?: string
}
export interface RealGasType {
  siteName?: string
  deviceNo: string
  sampleTime?: string
  state?: string
  dayReports: number
  ydayReports: number
  bsqList?: string
  lljList?: string
}
interface MarTreeDataChild {
  devNo?: string
  devName?: string
  devType?: number
  deviceNo?: string
  onlyKey: string
  siteName?: string
}
export interface MarTreeData {
  siteName?: string
  deviceNo: string
  onlyKey: string
  children: MarTreeDataChild[]
}
export interface DTUAttributeList {
  time?: string
  value?: any
}
export interface AlertHistory {
  dtuSerialNumber?: string
  // 编号
  identifier?: string
  // 序号
  affectField?: string
  // 量测标识
  LogTime?: string
  // 日志时间
  detectorType?: string
  // 设备类型
  alertTypeStr?: string
  // 报警内容
  LimitValue?: string
  // 预警值
  value?: string
  // 报警值
  createBy?: string
  createTime?: string
  limitValue?: number
  logTime?: string
  remark?: string
  updateBy?: string
  updateTime?: string
}
export interface DetectorDetail {
  devName?: string
  devNo?: string
  devType?: number
  model?: string
  protName?: string
  protCode?: string
  requestAddr?: string
  devDescribe?: string
  marUuid?: string
  uuid?: string
  isGasSum?: number
  createBy?: string
  createTime?: string
  updateBy?: string
  updateTime?: string
  measureFactors?: any[]
}
export interface MarkerListType {
  createBy?: string
  createTime?: string
  updateBy?: string
  updateTime?: string
  remark?: string
  uuid?: string
  siteName?: string
  lon?: number
  lat?: number
  address?: string
  deviceNo?: string
  deviceType?: string
  markerType?: number
  isMonitor?: number
  offSecond?: number
  marSort?: number
  flowmeterNo?: number
  transmitterNo?: number
  marState?: number
  // detectorVos:DetectorDetail[]
}
export interface MarDayReport {
  devNumber?: string
  devNo?: string
  sampleTime?: string
  sumScn?: string
  sumWcn?: string
  gasConsumption?: number
  date?: string
}
export interface MeasureFactor {
  createBy?: string
  createTime?: string
  deteUuid?: string
  measUnit?: string
  devNo?: string
  highLimit?: number
  highAlert?: number
  highTitle?: string
  isHighAlert?: number
  lowAlert?: number
  lowLimit?: number
  lowTitle?: string
  isLowAlert?: number
  name?: string
  ratio?: number
  offset?: number
  description?: string
  affectField?: number
  uuid?: string
}
export interface AlertList {
  devNumber?: string
  devNo?: string
  limitValue?: number
  value?: number
  siteName?: string
  devName?: string
  alertTypeStr?: string
  logTime?: string
}
export interface AlertHandle {
  uuid?: string
  devNumber?: string
  devNo?: string
  logTime?: string
  devType?: number
  alertTypeStr?: string
  limitValue?: number
  value?: number
  alertState?: number
  // 0-待处理，1-已完成，2,-未完成，3-已超时
  workUser?: string
  endDate?: string
  affectField?: string
}
export interface HandleDetails {
  hanUuid?: string
  alertState?: number
  workUser?: string
  describe?: string
  fileImg?: string
  createTime?: string
}
